package com.xiaozhen.common.core.domain.system.vo;

import com.xiaozhen.common.core.domain.BaseEntity;
import com.xiaozhen.common.core.domain.system.SysDept;
import com.xiaozhen.common.core.domain.system.SysRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/1 17:14
 * @description:
 */
@Data
public class SysUserListVo extends BaseEntity {

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "角色类别")
    private String userType;

    @ApiModelProperty(value = "邮箱地址")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phonenumber;

    @ApiModelProperty(value = "用户性别 0=男,1=女,2=未知")
    private String sex;

    @ApiModelProperty(value = "用户状态")
    private Integer status;

    @ApiModelProperty(value = "删除标识（0-正常,1-删除）")
    private Integer delFlag;

    @ApiModelProperty(value = "登录IP")
    private String loginIp;

    @ApiModelProperty(value = "登录时间")
    private Date loginDate;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "部门信息")
    private SysDept dept;

    @ApiModelProperty(value = "角色对象")
    private List<SysRole> roles;
}
